package com.ruoyi.teaching.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 学生信息对象 ya_student
 *
 * @author ruoyi
 * @date 2025-09-01
 */
public class YaStudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学生id */
    private Long id;

    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 名字 */
    @Excel(name = "名字")
    private String name;

    /** 性别，0女，1男 */
    @Excel(name = "性别，0女，1男")
    private Integer gender;

    /** 生日 */
    @Excel(name = "生日")
    private String birth;

    /** 联系号码 */
    @Excel(name = "联系号码")
    private String contactNumber;

    /** 毕业院校 */
    @Excel(name = "毕业院校")
    private String graduateSchool;

    /** 专业 */
    @Excel(name = "专业")
    private String majorAcademic;

    /** 毕业日期 */
    @Excel(name = "毕业日期")
    private String graduationDate;

    /** 学历，1:中职/高中、2:专科、3：本科、4:硕士研究生、5:博士研究生 */
    @Excel(name = "学历，1:中职/高中、2:专科、3：本科、4:硕士研究生、5:博士研究生")
    private Integer degree;

    /** 班级ID */
    private Long classesId;

    /** 班级名字 */
    @Excel(name = "班级名字")
    private String classesName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setUsername(String username)
    {
        this.username = username;
    }

    public String getUsername()
    {
        return username;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }

    public void setGender(Integer gender)
    {
        this.gender = gender;
    }

    public Integer getGender()
    {
        return gender;
    }

    public void setBirth(String birth)
    {
        this.birth = birth;
    }

    public String getBirth()
    {
        return birth;
    }

    public void setContactNumber(String contactNumber)
    {
        this.contactNumber = contactNumber;
    }

    public String getContactNumber()
    {
        return contactNumber;
    }

    public void setGraduateSchool(String graduateSchool)
    {
        this.graduateSchool = graduateSchool;
    }

    public String getGraduateSchool()
    {
        return graduateSchool;
    }

    public void setMajorAcademic(String majorAcademic)
    {
        this.majorAcademic = majorAcademic;
    }

    public String getMajorAcademic()
    {
        return majorAcademic;
    }

    public void setGraduationDate(String graduationDate)
    {
        this.graduationDate = graduationDate;
    }

    public String getGraduationDate()
    {
        return graduationDate;
    }

    public void setDegree(Integer degree)
    {
        this.degree = degree;
    }

    public Integer getDegree()
    {
        return degree;
    }

    public void setClassesId(Long classesId)
    {
        this.classesId = classesId;
    }

    public Long getClassesId()
    {
        return classesId;
    }

    public void setClassesName(String classesName)
    {
        this.classesName = classesName;
    }

    public String getClassesName()
    {
        return classesName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("username", getUsername())
            .append("name", getName())
            .append("gender", getGender())
            .append("birth", getBirth())
            .append("contactNumber", getContactNumber())
            .append("graduateSchool", getGraduateSchool())
            .append("majorAcademic", getMajorAcademic())
            .append("graduationDate", getGraduationDate())
            .append("degree", getDegree())
            .append("classesId", getClassesId())
            .append("classesName", getClassesName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
